import 'package:flutter/material.dart';
import 'package:flutter_deer/account/models/flowing_water_entity.dart';
import 'package:flutter_deer/widgets/state_layout.dart';

class FlowingWaterProvider extends ChangeNotifier {
  StateType? _stateType = StateType.loading;
  StateType? get stateType => _stateType;
  List<FlowingWaterEntity>? _flowingWaterList;
  List<FlowingWaterEntity>? get flowingWaterList => _flowingWaterList;

  void setFlowingWaterList(List<FlowingWaterEntity>? list){
    _flowingWaterList = list;
    _stateType = StateType.flowingWater;
    notifyListeners();
  }
}
